import request from '@/utils/request'

export function getServiceData() {
  return request({
    url: `/sysm/phmSystemHome/`,
    method: 'get'
  })
}

export function getBasicData() {
  return request({
    url: `/basic/basicHome/`,
    method: 'get'
  })
}

export function getDefectData() {
  return request({
    url: `/basic/basicHome/getRepairDefectNum`,
    method: 'get'
  })
}

export function getFaultData() {
  return request({
    url: `/basic/basicHome/getScyFaultRecordNum`,
    method: 'get'
  })
}

export function getPretreatmentData() {
  return request({
    url: `/repair/home/pretreatment`,
    method: 'get'
  })
}
